package com.ruoyi.app.service;

import java.util.List;
import com.ruoyi.app.domain.AppCreditRules;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 学分规则Service接口
 *
 * @author ruoyi
 * @date 2025-03-19
 */
public interface IAppCreditRulesService extends IService<AppCreditRules>{
    /**
     * 查询学分规则
     *
     * @param ruleId 学分规则主键
     * @return 学分规则
     */
    public AppCreditRules selectAppCreditRulesByRuleId(Long ruleId);

    /**
     * 查询学分规则列表
     *
     * @param appCreditRules 学分规则
     * @return 学分规则集合
     */
    public List<AppCreditRules> selectAppCreditRulesList(AppCreditRules appCreditRules);

    /**
     * 新增学分规则
     *
     * @param appCreditRules 学分规则
     * @return 结果
     */
    public int insertAppCreditRules(AppCreditRules appCreditRules);

    /**
     * 修改学分规则
     *
     * @param appCreditRules 学分规则
     * @return 结果
     */
    public int updateAppCreditRules(AppCreditRules appCreditRules);

    /**
     * 批量删除学分规则
     *
     * @param ruleIds 需要删除的学分规则主键集合
     * @return 结果
     */
    public int deleteAppCreditRulesByRuleIds(Long[] ruleIds);

    /**
     * 删除学分规则信息
     *
     * @param ruleId 学分规则主键
     * @return 结果
     */
    public int deleteAppCreditRulesByRuleId(Long ruleId);
}
